package com.cy.train.member.service;

import com.cy.train.common.resp.PageResp;
import com.cy.train.member.domain.Passenger;
import com.cy.train.member.req.PassengerQueryReq;
import com.cy.train.member.req.PassengerSaveReq;
import com.cy.train.member.resp.PassengerQueryResp;

import java.util.List;

public interface PassengerService {
    void save(PassengerSaveReq req);

    PageResp<PassengerQueryResp> queryList(PassengerQueryReq req);

    void delete(Long id);

    List<Passenger> queryAll();
}